package com.split;

import org.apache.commons.lang3.StringUtils;



public class spl {
	
	private final static String testr="hello-world-90122";
	
	public static void main(String[] args){
		 
		String ss[]=StringUtils.split(testr, "-");
		System.out.println(ss[0]);
		System.out.println(ss[1]);
		System.out.println(ss[2]);
		String s2[]=StringUtils.split(testr, "l");
		System.out.println(s2[0]);
		System.out.println(s2[1]);
		System.out.println(s2[2]);
	}

}
